package bean.messge_bean;

import android.text.Spanned;

import java.util.List;

/**
 * Created by itboye on 2017/1/6.
 */

public class SystemMessgeBean {
    /**
     * count : 2
     * list : [{"summary":"我是消息概要","from_id":"0","create_time":"1483513836","to_id":"74","msg_status":"0","title":"我是消息概要","content":"我是消息内容","dtree_type":"6042","send_time":"1483513836","extra":"","id":"144","msg_id":"144","status":"1"},{"summary":"我是消息概要","from_id":"0","create_time":"1483513848","to_id":"74","msg_status":"0","title":"我是消息概要","content":"我是消息内容","dtree_type":"6042","send_time":"1483513848","extra":"","id":"145","msg_id":"145","status":"1"}]
     */
    private String count;
    private List<ListEntity> list;

    public void setCount(String count) {
        this.count = count;
    }

    public void setList(List<ListEntity> list) {
        this.list = list;
    }

    public String getCount() {
        return count;
    }

    public List<ListEntity> getList() {
        return list;
    }

    public class ListEntity {
        /**
         * summary : 我是消息概要
         * from_id : 0
         * create_time : 1483513836
         * to_id : 74
         * msg_status : 0
         * title : 我是消息概要
         * content : 我是消息内容
         * dtree_type : 6042
         * send_time : 1483513836
         * extra :
         * id : 144
         * msg_id : 144
         * status : 1
         */
        private String summary;
        private String from_id;
        private String create_time;
        private String to_id;
        private String msg_status;
        private String title;
        private Spanned content;
        private String dtree_type;
        private String send_time;
        private String extra;
        private String id;
        private String msg_id;
        private String status;

        private String  from_name;
        private Spanned   post_content;

        public String getFrom_name() {
            return from_name;
        }

        public void setFrom_name(String from_name) {
            this.from_name = from_name;
        }

        public Spanned getPost_content() {
            return post_content;
        }

        public void setPost_content(Spanned post_content) {
            this.post_content = post_content;
        }

        public void setSummary(String summary) {
            this.summary = summary;
        }

        public void setFrom_id(String from_id) {
            this.from_id = from_id;
        }

        public void setCreate_time(String create_time) {
            this.create_time = create_time;
        }

        public void setTo_id(String to_id) {
            this.to_id = to_id;
        }

        public void setMsg_status(String msg_status) {
            this.msg_status = msg_status;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public void setContent(Spanned content) {
            this.content = content;
        }

        public void setDtree_type(String dtree_type) {
            this.dtree_type = dtree_type;
        }

        public void setSend_time(String send_time) {
            this.send_time = send_time;
        }

        public void setExtra(String extra) {
            this.extra = extra;
        }

        public void setId(String id) {
            this.id = id;
        }

        public void setMsg_id(String msg_id) {
            this.msg_id = msg_id;
        }

        public void setStatus(String status) {
            this.status = status;
        }

        public String getSummary() {
            return summary;
        }

        public String getFrom_id() {
            return from_id;
        }

        public String getCreate_time() {
            return create_time;
        }

        public String getTo_id() {
            return to_id;
        }

        public String getMsg_status() {
            return msg_status;
        }

        public String getTitle() {
            return title;
        }

        public Spanned getContent() {
            return content;
        }

        public String getDtree_type() {
            return dtree_type;
        }

        public String getSend_time() {
            return send_time;
        }

        public String getExtra() {
            return extra;
        }

        public String getId() {
            return id;
        }

        public String getMsg_id() {
            return msg_id;
        }

        public String getStatus() {
            return status;
        }
    }
}
